Automattic\Jetpack\Connection\REST_Connector C

Total Complexity 116
Dependencies 15
Dependents 4
Total lines 1,169
Lines of code 676
Logical lines of code 218
Comment lines 347
Methods 33
Properties 2

Methods 33

Method Rating Maintainability Complexity Lines of code
__construct()
B
26
5 240
unlink_user()
A
50 11 27
is_request_signed_by_jetpack_debugger()
A
50 9 27
connection_register()
A
51 8 26
get_user_connection_data()
A
43 6 48
connection_reconnect()
S
52 7 26
update_user_token()
S
51 7 24
connection_status()
S
50 5 28
connection_authorize_url_provider()
S
49 4 35
get_connection_plugins()
S
59 3 16
remote_provision_permission_check()
S
65 4 8
remote_provision()
S
61 3 12
remote_register_permission_check()
S
67 3 8
connection_check_permission_check()
S
66 3 8
connection_plugins_permission_check()
S
65 3 9
disconnect_site_permission_check()
S
66 3 8
unlink_user_permission_callback()
S
64 3 10
set_connection_owner()
S
62 2 12
disconnect_site()
S
61 2 12
set_connection_owner_permission_check()
S
69 2 6
update_user_token_permission_check()
S
72 2 5
remote_authorize()
S
66 2 8
jetpack_register_permission_check()
S
69 2 6
connection_authorize_url()
S
65 2 9
remote_connect()
S
66 2 8
remote_register()
S
66 2 8
jetpack_reconnect_permission_check()
S
69 2 6
remote_connect_permission_check()
S
72 2 5
activate_plugins_permission_check()
S
69 2 6
user_connection_data_permission_check()
S
65 2 10
get_user_permissions_error_msg()
S
80 1 3
verify_registration()
S
75 1 4
connection_check()
S
68 1 8